<template>
  <div class="common-layout">
    <el-container>
      <LEFT></LEFT>
      <el-container class="right">
        <TOP></TOP>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script setup lang="ts">
import TOP from './top.vue';
import LEFT from './left.vue';
</script>

<style scoped>
.el-container{
  height: 100vh;
}
.right{
  display: flex!important;;
  flex-direction: column!important;
}
</style>